import QtQuick 2.2
/*
* TextInput例子
*/
TextInput {
	width: 120;
	height: 20;
	font.pixelSize: 20;
	anchors.centerIn: parent;
	//validator: IntValidator {top:15;bottom:6;}
	validator: RegExpValidator {
		regExp: new RegExp("(2[0-5]{2}|2[0-4][0-9]|1?[0-9]{1,2}).(2[0-5]{2}|2[0-4][0-9]|1?[0-9]{1,2}).(2[0-5]{2}|2[0-4][0-9]|1?[0-9]{1,2}).(2[0-5]{2}|2[0-4][0-9]|1?[0-9]{1,2})");
	}
//	inputMask: "12";
	inputMask: "000.000.000.000;_";
	focus: true;
}
